import authComponent from "lesso-component-log/src/components.js";
import Finance from "@/views/financeManager/components";
import appointmentUnloading from "@/views/appointmentUnloading/components";

let components = {
  lessoCommonTestModule: () =>
    import("@/views/masterData/lessoCommonTestModule"), //模版页面
  testModule: () => import("@/views/masterData/testModule"),
  mine: () => import("@/views/mine"),
  masterData: () => import("@/views/masterData"),
  supplierManager: () => import("@/views/masterData/supplierManager"),
  companyInfo: () => import("@/views/masterData/companyInfo"),
  notifySetting: () => import("@/views/masterData/notifySetting"),
  busType: () => import("@/views/masterData/busType"),
  onlineSetting: () => import("@/views/masterData/onlineSetting"),
  myAccountList: () => import("@/views/accountManagement/myAccountList"),
  goodsAccountBill: () => import("@/views/accountManagement/goodsAccountBill"),
  physicalApplyComponents: () =>
    import("@/views/accountManagement/physicalApplyComponents"),
  accountBill: () => import("@/views/accountManagement/accountBill"),
  accountApplyComponents: () =>
    import("@/views/accountManagement/accountApplyComponents"),
  accountAuditList: () => import("@/views/accountManagement/accountAuditList"),
  subAccountManager: () => import("@/views/system/subAccountManager"),
  supplierInfoPerfect: () => import("@/views/system/supplierInfoPerfect"),
  adjustBill: () => import("@/views/purchase/adjustBill"),
  contractManager: () => import("@/views/purchase/contractManager"),
  adjustAudit: () => import("@/views/accountManagement/adjustAudit"),
  filesSignList: () => import("@/views/accountManagement/filesSignList"),
  openESign: () => import("@/views/system/openESign"),
  goodsAccountBill2: () => import("@/views/purchase/goodsAccountBill2"),
  unPublishedPurOrder: () => import("@/views/purchase/unPublishedPurOrder"),
  publishedPurOrder: () => import("@/views/purchase/publishedPurOrder"),
  confirmedOrder: () => import("@/views/sales/confirmedOrder"),
  deliveryList: () => import("@/views/myLogistics/deliveryList"),
  createDelivery: () => import("@/views/myLogistics/createDelivery"),
  importDelivery: () => import("@/views/myLogistics/importDelivery"),
  unConfirmPurOrder: () => import("@/views/sales/unConfirmPurOrder"),
  materialAntiCounterfeition: () =>
    import("@/views/masterData/materialAntiCounterfeition"),
  createAntiCounterfeitionCode: () =>
    import("@/views/myLogistics/createAntiCounterfeitionCode"),
  purchaseTrackingReport: () =>
    import("@/views/purchaseReport/purchaseTrackingReport"),
  accountReport: () => import("@/views/purchaseReport/accountReport"),
  systemOperationReport: () =>
    import("@/views/purchaseReport/systemOperationReport"),
  deliveryReport: () => import("@/views/purchaseReport/deliveryReport"),
  counterfeitionCodeReport: () =>
    import("@/views/purchaseReport/counterfeitionCodeReport"),
  accountTotalReport: () => import("@/views/purchaseReport/accountTotalReport"),
  noticeList2: () => import("@/views/mine/noticeList2"),
  noticeList: () => import("@/views/comprehensive/noticeList"),
  createDeliveryPlan: () => import("@/views/purchase/createDeliveryPlan"),
  deliveryPlanList: () => import("@/views/purchase/deliveryPlanList"),
  deliveryPlanListS: () => import("@/views/myLogistics/deliveryPlanListS"),
  sendPlanList: () => import("@/views/myLogistics/sendPlanList"),
  planMaterialSetting: () => import("@/views/masterData/planMaterialSetting"),
  flowList: () => import("@/views/mine/flowList"),
  templateManager: () => import("@/views/setting/templateManager"),
  accountletterReport: () =>
    import("@/views/purchaseReport/accountletterReport"),
  contractList: () => import("@/views/purchase/contractList"),
  functionUseReport: () => import("@/views/purchaseReport/functionUseReport"),
  fincontractReport: () => import("@/views/purchaseReport/fincontractReport"),
  onlineReport: () => import("@/views/purchaseReport/onlineReport"),
  goodsAccountReport: () => import("@/views/purchaseReport/goodsAccountReport"),
  helpCenter: () => import("@/views/mine/helpCenter"),
  questionManager: () => import("@/views/comprehensive/questionManager"),
  enumManager: () => import("@/views/masterData/enumManager"),
  paramSetting: () => import("@/views/system/paramSetting"),
  barCodeApplyList: () => import("@/views/myLogistics/barCodeApplyList"),
  qualityInspection: () => import("@/views/myLogistics/qualityInspection"),   // 质检协同
  quarterlyReconciliation: () => import("@/views/myLogistics/quarterlyReconciliation"),   // 季度对账

  importDeliveryPlanDialog: () =>
    import("@/views/purchase/common/importDeliveryPlanDialog"),
  areaManager: () => import("@/views/masterData/region"), //区域管理
  interval: () => import("@/views/masterData/interval"), //时段管理
  supplierPlanSetting: () => import("@/views/masterData/supplierPlan"), //供应商计划管理
  transportManager: () => import("@/views/masterData/transportManager"), //第三方管理
  accountBoardReport: () => import("@/views/purchaseReport/accountBoardReport"), //对账看板
//   accountMxReport: () => import("@/views/purchaseReport/accountMxReport"), //会计对账明细
  accountMxReport: () => import("@/views/purchaseReport/accountSumReport"),
  instockBills: () => import("@/views/purchaseReport/instockBills"),
  purchaserManager: () => import("@/views/sendLeafletSystem/purcheaserManager"), //采购员管理
  purchaserPlantSetting: () =>
    import("@/views/sendLeafletSystem/purcheaserFactory"), //采购员工厂配置
  matgroupManager: () => import("@/views/sendLeafletSystem/materials"), //物料组管理
  matgroupExcludeSetting: () =>
    import("@/views/sendLeafletSystem/materialsExclude"), //物料组排除管理
  autodistributeSetting: () =>
    import("@/views/sendLeafletSystem/autoSendLeafletRule"), //自动派单规则设置
  distributeMatgroupSetting: () =>
    import("@/views/sendLeafletSystem/purchaserMaterials"), //派单员物料组配置
  purchaseRequestList: () =>
    import("@/views/sendLeafletSystem/puechaserApplyList"), //采购申请清单
  task: () => import("@/views/sendLeafletSystem/taskAssignment"), //任务分派功能
  doneList: () => import("@/views/sendLeafletSystem/doneList"), //我的已办
  toDoList: () => import("@/views/sendLeafletSystem/toDoList"), //我的代办
  synchronizationRecord: () =>
    import("@/views/sendLeafletSystem/synchronizationRecord"), //同步记录
  purcheaserManager: () =>
    import("@/views/sendLeafletSystem/purcheaserManager"), //采购员管理
  purcheaserFactory: () =>
    import("@/views/sendLeafletSystem/purcheaserFactory"), //采购员工厂配置
  materials: () => import("@/views/sendLeafletSystem/materials"), //物料组管理
  materialsExclude: () => import("@/views/sendLeafletSystem/materialsExclude"), //物料组排除管理
  autoSendLeafletRule: () =>
    import("@/views/sendLeafletSystem/autoSendLeafletRule"), //自动派单规则设置
  purchaserMaterials: () =>
    import("@/views/sendLeafletSystem/purchaserMaterials"), //派单员物料组配置
  puechaserApplyList: () =>
    import("@/views/sendLeafletSystem/puechaserApplyList"), //采购申请清单
  taskAssignment: () => import("@/views/sendLeafletSystem/taskAssignment"), //任务分派功能
  syncList: () => import("@/views/sendLeafletSystem/synchronizationRecord"), //同步记录
  guarantorManager: () => import("@/views/masterData/guarantorManager"),
  demandPlanList: () => import("@/views/purchase/demandPlanList"), //需求计划
  appointmentListS: () => import("@/views/myLogistics/appointmentListS"), //预约卸货
  purgroupExcludeSetting: () => import("@/views/sendLeafletSystem/purGroupExclude"), //采购组排除
  servicePerson: () => import("@/views/masterData/servicePerson"),//服务人员
  applySoleList: () => import("@/views/matterApply/applySoleList"),//申购单申请列表  
  awaitVerifyList: () => import("@/views/matterApply/awaitVerifyList"),// 待审核列表   
  verifySoleList: () => import("@/views/matterApply/verifySoleList"),// 已审核列表   
  purchasesApplyList: () => import("@/views/matterApply/purchasesApplyList"),// 采购申请列表       
  newsPush: () => import("@/views/matterApply/newsPush"),// 消息推送                                                
};

components = Object.assign(
  components,
  Finance,
  authComponent,
  appointmentUnloading
);

export default components;
